package com.feeyin.radar.crm.service;

import java.util.List;
import java.util.Map;

import com.feeyin.radar.commons.Page;
import com.feeyin.radar.crm.form.BackCostForm;
import com.feeyin.radar.crm.form.BackCostNewForm;
import com.feeyin.radar.crm.form.ExportBackCostForm;
import com.feeyin.radar.crm.model.BackCostNew;

public abstract interface ContractBackCostService
{
  public abstract Map getBackCostDictionaryRanges();

  public abstract List getUsers(String paramString1, String paramString2, Integer paramInteger);

  public abstract List getBackCosts(Integer paramInteger);

  public abstract List getPageMyContracts(String paramString1, String paramString2, Integer paramInteger, Page paramPage);

  public abstract Integer getPageMyContractsCount(String paramString1, String paramString2, Integer paramInteger);

  public abstract boolean exportBackCosts(String paramString1, String paramString2, String paramString3, Integer paramInteger, String[] paramArrayOfString, ExportBackCostForm paramExportBackCostForm);

  public abstract boolean insertBackCost(BackCostForm paramBackCostForm);

  public abstract boolean updateBackCost(BackCostForm paramBackCostForm);
  
  public abstract boolean insertBackCostNew(BackCostNewForm backCostNewForm);
  
  public abstract boolean isDuplicateBackCostNew(String backCostNum);
  
  public abstract List<BackCostNew> getBackCostNewListByContractId(String contractId);
  
  public abstract BackCostNew getBackCostNewById(String backCostId);  
  
  public boolean updateBackCostNew(BackCostNewForm backCostNewForm);
}